package com.smart_campus.teg.mapper;

import com.smart_campus.sys.common.DataGridView;
import com.smart_campus.teg.domain.Major;
import com.smart_campus.teg.vo.CourseVo;
import com.smart_campus.teg.vo.MajorVo;

import java.util.List;

/**
*   @aytgor 陈鹏
*   @date 2020/6/18 16:53
*
*/
public interface MajorMapper {

    int deleteByPrimaryKey(Integer majorId);

    int insert(Major record);

    int insertSelective(Major record);

    Major selectByPrimaryKey(Integer majorId);

    int updateByPrimaryKeySelective(Major record);

    int updateByPrimaryKey(Major record);

    List<Major> MajorList(MajorVo majorVo);
}